package com.yfq.springframework.aop;

/**
 * @author 姚凤桥
 * @date 2023/2/1 20:33
 * @description
 */
public interface ClassFilter {
    /**
     * Should the pointcut apply to the given interface or target class?
     *
     * @param clazz the candidate target class
     * @return whether the advice should apply to the given target class
     */
    boolean matches(Class<?> clazz);
}
